# 排序
a = int(input("输入a的数值:"))
b = int(input("输入b的数值:"))
c = int(input("输入c的数值:"))
if a > b and a > c:
    if b > c:
        print(a, b, c)
elif b > a and b > c:
    if a > c:
        print(b, a, c)
    else:
        print(b, c, a)
else:
    if a > b:
        print(c, a, b)
    else:
        print(c, b, a)
